name: tests_hybrid run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/bin:/opt/pyenv/bin:/tmp/venv-lM2x/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 341052390 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid env TOX_ENV_NAME: tests_hybrid env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 92740 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/bin/*:launch_tests.sh cmd: ./launch_tests.sh hybrid exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py .............FFF...................FF.............. [100%] =================================== FAILURES =================================== __ TestTransportPCEDeviceChangeNotifications.test_14_check_update_portmapping __ self = def test_14_check_update_portmapping(self): response = test_utils.get_portmapping_node_attr("XPDRA01", None, None) self.assertEqual(response['status_code'], requests.codes.ok) mapping_list = response['nodes'][0]['mapping'] for mapping in mapping_list: if mapping['logical-connection-point'] == 'XPDR1-NETWORK1': > self.assertEqual(mapping['port-oper-state'], 'OutOfService', "Operational State should be 'OutOfService'") E AssertionError: 'InService' != 'OutOfService' E - InService E + OutOfService E : Operational State should be 'OutOfService' transportpce_tests/hybrid/test01_device_change_notifications.py:218: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_check_update_portmapping _ TestTransportPCEDeviceChangeNotifications.test_15_check_update_openroadm_topo _ self = def test_15_check_update_openroadm_topo(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) node_list = response['network'][0]['node'] nb_updated_tp = 0 for node in node_list: self.assertEqual(node['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(node['org-openroadm-common-network:administrative-state'], 'inService') tp_list = node['ietf-network-topology:termination-point'] for tp in tp_list: if node['node-id'] == 'XPDRA01-XPDR1' and tp['tp-id'] == 'XPDR1-NETWORK1': > self.assertEqual(tp['org-openroadm-common-network:operational-state'], 'outOfService') E AssertionError: 'inService' != 'outOfService' E - inService E + outOfService transportpce_tests/hybrid/test01_device_change_notifications.py:240: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_check_update_openroadm_topo ___ TestTransportPCEDeviceChangeNotifications.test_16_check_update_service1 ____ self = def test_16_check_update_service1(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(response['services'][0]['operational-state'], 'outOfService') E AssertionError: 'inService' != 'outOfService' E - inService E + outOfService transportpce_tests/hybrid/test01_device_change_notifications.py:266: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_check_update_service1 __ TestTransportPCEDeviceChangeNotifications.test_36_check_update_portmapping __ self = def test_36_check_update_portmapping(self): response = test_utils.get_portmapping_node_attr("XPDR-C1", None, None) self.assertEqual(response['status_code'], requests.codes.ok) mapping_list = response['nodes'][0]['mapping'] for mapping in mapping_list: if mapping['logical-connection-point'] == 'XPDR1-NETWORK1': > self.assertEqual(mapping['port-oper-state'], 'OutOfService', "Operational State should be 'OutOfService'") E AssertionError: 'InService' != 'OutOfService' E - InService E + OutOfService E : Operational State should be 'OutOfService' transportpce_tests/hybrid/test01_device_change_notifications.py:498: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_36_check_update_portmapping _ TestTransportPCEDeviceChangeNotifications.test_37_check_update_openroadm_topo _ self = def test_37_check_update_openroadm_topo(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) node_list = response['network'][0]['node'] nb_updated_tp = 0 for node in node_list: self.assertEqual(node['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(node['org-openroadm-common-network:administrative-state'], 'inService') tp_list = node['ietf-network-topology:termination-point'] for tp in tp_list: if node['node-id'] == 'XPDR-C1-XPDR1' and tp['tp-id'] == 'XPDR1-NETWORK1': > self.assertEqual(tp['org-openroadm-common-network:operational-state'], 'outOfService') E AssertionError: 'inService' != 'outOfService' E - inService E + outOfService transportpce_tests/hybrid/test01_device_change_notifications.py:520: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_37_check_update_openroadm_topo =========================== short test summary info ============================ FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_14_check_update_portmapping FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_15_check_update_openroadm_topo FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_16_check_update_service1 FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_36_check_update_portmapping FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_37_check_update_openroadm_topo 5 failed, 46 passed in 143.12s (0:02:23)